package com.ruoyi.adapayBalancerecharge.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 余额支付充值记录对象 jy_adapay_balancerecharge
 *
 * @author ch
 * @date 2022-03-03
 */
@ApiModel
public class AdapayBalancerecharge extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 充值金额 */
    @Excel(name = "充值金额")
    @ApiModelProperty(value = "充值金额")
    private BigDecimal money;

    /** 支付订单id */
    @Excel(name = "支付订单id")
    @ApiModelProperty(value = "支付订单id")
    private String orderNo;

    /** 支付对象id */
    @Excel(name = "支付对象id")
    @ApiModelProperty(value = "支付对象id")
    private String paymentId;

    /** 请求参数 */
    @Excel(name = "请求参数")
    @ApiModelProperty(value = "请求参数")
    private String reqParam;

    /** 回调参数 */
    @Excel(name = "回调参数")
    @ApiModelProperty(value = "回调参数")
    private String resParam;

    /** 请求状态 */
    @Excel(name = "请求状态")
    @ApiModelProperty(value = "请求状态")
    private String reqState;

    /** 请求失败原因 */
    @Excel(name = "请求失败原因")
    @ApiModelProperty(value = "请求失败原因")
    private String reqFailMsg;

    /** 异步回调参数 */
    @Excel(name = "异步回调参数")
    @ApiModelProperty(value = "异步回调参数")
    private String notifyParam;

    /** 支付状态 */
    @Excel(name = "支付状态")
    @ApiModelProperty(value = "支付状态")
    private String payState;

    /** 支付失败原因 */
    @Excel(name = "支付失败原因")
    @ApiModelProperty(value = "支付失败原因")
    private String payFailMsg;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setMoney(BigDecimal money)
    {
        this.money = money;
    }

    public BigDecimal getMoney()
    {
        return money;
    }
    public void setOrderNo(String orderNo)
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo()
    {
        return orderNo;
    }
    public void setPaymentId(String paymentId)
    {
        this.paymentId = paymentId;
    }

    public String getPaymentId()
    {
        return paymentId;
    }
    public void setReqParam(String reqParam)
    {
        this.reqParam = reqParam;
    }

    public String getReqParam()
    {
        return reqParam;
    }
    public void setResParam(String resParam)
    {
        this.resParam = resParam;
    }

    public String getResParam()
    {
        return resParam;
    }
    public void setReqState(String reqState)
    {
        this.reqState = reqState;
    }

    public String getReqState()
    {
        return reqState;
    }
    public void setReqFailMsg(String reqFailMsg)
    {
        this.reqFailMsg = reqFailMsg;
    }

    public String getReqFailMsg()
    {
        return reqFailMsg;
    }
    public void setNotifyParam(String notifyParam)
    {
        this.notifyParam = notifyParam;
    }

    public String getNotifyParam()
    {
        return notifyParam;
    }
    public void setPayState(String payState)
    {
        this.payState = payState;
    }

    public String getPayState()
    {
        return payState;
    }
    public void setPayFailMsg(String payFailMsg)
    {
        this.payFailMsg = payFailMsg;
    }

    public String getPayFailMsg()
    {
        return payFailMsg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("money", getMoney())
            .append("orderNo", getOrderNo())
            .append("paymentId", getPaymentId())
            .append("reqParam", getReqParam())
            .append("resParam", getResParam())
            .append("reqState", getReqState())
            .append("reqFailMsg", getReqFailMsg())
            .append("notifyParam", getNotifyParam())
            .append("payState", getPayState())
            .append("payFailMsg", getPayFailMsg())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
